package model;
/**
 * 前台用户信息模版类
 * @author Administrator
 *
 */
public class User {

	private int id;
	private String account;
	private String name;
	private String password;
	private String sex;
	private String birth;
	private String cardID;
	private String email;
	private String cellphone;
	private String address;
	private String touxiang;
	private String hobby;
	
	public String getTouxiang() {
		return touxiang;
	}

	public void setTouxiang(String touxiang) {
		this.touxiang = touxiang;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirth() {
		return birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getCardID() {
		return cardID;
	}

	public void setCardID(String cardID) {
		this.cardID = cardID;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public User(int id, String account, String name, String password,
			String sex, String birth, String cardID, String email,
			String cellphone, String address) {
		this.id = id;
		this.account = account;
		this.name = name;
		this.password = password;
		this.sex = sex;
		this.birth = birth;
		this.cardID = cardID;
		this.email = email;
		this.cellphone = cellphone;
		this.address = address;
	}

	public User(String account, String name, String password, String sex,
			String birth, String cardID, String email, String cellphone,
			String address) {
		this.account = account;
		this.name = name;
		this.password = password;
		this.sex = sex;
		this.birth = birth;
		this.cardID = cardID;
		this.email = email;
		this.cellphone = cellphone;
		this.address = address;
	}

	public User() {
	}

	public User(int id,String account, String name, String sex, String email,
			String cellphone) {
		this.id=id;
		this.account = account;
		this.name = name;
		this.sex = sex;
		this.email = email;
		this.cellphone = cellphone;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return id+"<<id---user的toString---address>>"+address;
	}

	public User(int id, String account, String name, String password,
			String sex, String birth, String email, String touxiang,
			String hobby) {
		this.id = id;
		this.account = account;
		this.name = name;
		this.password = password;
		this.sex = sex;
		this.birth = birth;
		this.email = email;
		this.touxiang = touxiang;
		this.hobby = hobby;
	}

	public User(String account, String name, String cellphone, String address) {
		this.account = account;
		this.name = name;
		this.cellphone = cellphone;
		this.address = address;
	}
	
	
	
}
